<include file="__THEME__/header" />
<script type="text/javascript" src="__PUBLIC__/js/jquery.form.js"></script>
<script type="text/javascript" src="{:U('weibo/plugins/init')}"></script>
<script type="text/javascript" src="__PUBLIC__/js/jquery.autocomplete.js"></script>


<div class="content"><!-- 内容 begin  --> 
  <include file="__THEME__/center_menu" />
  <div class="main">
      <div class="mainbox_C">
      <div style="overflow:hidden;">
        
		 <div>
         
         <form action="{:U('center/index/index')}" id="quick_search_form" method="post">
    <div class="soso br3"><label id="_header_search_label" style="display: block;" onclick="$(this).hide();$('#_header_search_text').focus();">搜同校商品</label><input type="text" class="so_text" value="" name="k" id="_header_search_text" onblur="if($(this).val()=='') $('#_header_search_label').show();"/><input name="" type="button" onclick="$('#quick_search_form').submit()" class="so_btn hand br3"/></div>
	<script>
	if($('#_header_search_text').val()=='')
		$('#_header_search_label').show();
	else
		$('#_header_search_label').hide();
	</script>
</form>
    
        <h1>{$myschool['school']}</h1>
        </div>
            <div class="tab-menu clear"><!-- 切换标签 begin  -->
           
              <ul>
                <li><a id="feed_colleague_item" rel="colleague" class="<eq name='type' value=''>on</eq> feed_item" href="{:U('center/Index/index')}"><span>销售信息</span></a></li>
				
                <li><a id="feed_all_item" rel="all" class="<eq name='type' value='original'>on</eq> feed_item" href="{:U('center/Index/qiugou')}"><span>求购信息</span></a></li>
               
              </ul>
            </div>
	    <div class="goodsBox">
         
        <php>if($goodslist){</php>
          
            <volist id="vo" name="goodslist">     
              <table class="goods_tab">
              <tr><td width="106" rowspan="2">
               <span>
               <php>if($vo[gimage]){</php>
                <a href="{:U('shop/index/goods',array('uid'=>$vo['uid'],'gid'=>$vo['id']))}"><img src="__UPLOAD__/goods/s_{$vo[gimage]}"/></a>
                <php>}else{</php>
                <a href="{:U('shop/index/goods',array('uid'=>$vo['uid'],'gid'=>$vo['id']))}"><img src="__THEME__/images/no_image_s.gif" /></a>
                <php>}</php>
                </span>
                </td><td>
               
                   <a href="{:U('shop/index/goods',array('uid'=>$vo['uid'],'gid'=>$vo['id']))}">{$vo['title']}</a>
                   
                   </td><td> 
                     <cite>价格: {$vo.gprice}&nbsp;&nbsp; </cite> 
					  
				  
                     <div id="comment_list_{$vo.id}" style=""></div>
                
                </td>
                   <td>发布日期：{$vo.utime|friendlyDate}</td>
              </tr>
              <tr>
                <td>
                    {$vo['uname']}</td>
                <td>数量：{$vo['gnumber']}
					  </td>
                <td>&nbsp;</td>
              </tr>
              </table>
              
             <p class="lineD_btm"></p>
             
          </volist>
<php>}else{</php>	
                    <p>你所在的学校暂无出售信息，点击<a href="{:U('index/index/index')}">这里</a>查看更多</p>
                 
<php>}</php>			  
           
          	<div class="page">{$page} </div>
		</div>
        </div>
        <div class="c"></div>
      </div>
    </div>

</div>
<!-- 内容 end --> 

<!-- 用@提到的人 begin-->
<div class="atwho" id="searchUser" style="display:none;">
  <dl>
    
    <!--
                <dd class="ucr">张小小</dd>
                <dd>张大妮</dd>
                <dd>冷大少</dd>
				-->
    
  </dl>
</div>
<!-- 用@提到的人 end --> 


<include file="__THEME__/footer" /> 